package com.hk.app.utils;

import org.springframework.cglib.beans.BeanCopier;

/**
 *
 * @author Antinomy
 * @date 17/12/6
 */
public class CglibBeanUtils {

    public static void copy(Object target, Object source) {
        BeanCopier copier = BeanCopier.create(source.getClass(), target.getClass(), false);
        copier.copy(source, target, null);
    }

}
